package com.ctshk.rpc.order.goods.dto.es;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *  机票订单行程信息数组
 * </p>
 *
 * @author 李新科
 * @date 2021/5/27 20:53
 */
@Data
@ApiModel(value="机票订单行程信息DTO实体")
public class AirOrderTripEsDTO implements Serializable {

    @ApiModelProperty(value = "航空公司名称")
    private String companyName;

    @ApiModelProperty(value = "第几程")
    private Integer tripRank;

    @ApiModelProperty(value = "航班号")
    private String flightNumber;

    @ApiModelProperty(value = "出发日期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime depDateTime;

    @ApiModelProperty(value = "出发地名称")
    private String depCityName;

    @ApiModelProperty(value = "到达地名称")
    private String arrCityName;

    @ApiModelProperty(value = "起飞机场")
    private String depAirportName;

    @ApiModelProperty(value = "到达机场")
    private String arrAirportName;

    @ApiModelProperty(value = "到达日期时间")
    private LocalDateTime arrDateTime;

    @ApiModelProperty(value = "耗时")
    private String timeConsuming;
}
